<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="Robots" content="all" />
<meta name="Googlebot" content="all" />
<meta name="Author" content="内蒙古呼和浩特市第二中学网校" />
<meta name="Copyright" content="内蒙古呼和浩特市第二中学版权所有" />
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}public.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}detail.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script type="text/javascript" src="{JS_PATH}search_common.js"></script>
</head>
<body>
{template "content","header_common"}
<div id="page">



<div id="boardbox">
	<div class="crumb">
		<b>当前位置：</b>
		<a href="{siteurl($siteid)}">首页</a><span> > </span>{catpos($catid)} 正文
	</div>
	
	<div class="leftside">
		<span class="contentbox">
			<h1>{$title}</h1>
			<table cellspacing="0 cellpadding="0" align="center" class="down_info">
			<tbody>
				<tr>
					<th>授权形式：</th>
					<td>{$copytype}</td>
					<td width="260" rowspan="7" align="center" valign="middle" class="softimg">
						{if $thumb}<img src="{$thumb}" width="250" height="220" />{/if}
					</td>
				</tr>
				<tr>
				  <th>更新时间：</th>
				  <td>{$updatetime}</td>
				</tr>
				<tr>
				  <th>文档语言：</th>
				  <td >{$language}</td>
				</tr>
				<!--<tr>
				  <th>软件平台：</th>
				  <td >{$systems}</td>
				</tr>-->				
				<tr>
				  <th>文档类别：</th>
				  <td > {$classtype}&nbsp;</td>
				</tr>
				<tr>
				  <th>文档大小：</th>
				  <td > {$filesize}</td>
				</tr>
				<tr>
				  <th>评论等级：</th>
				  <td  class="c_orange"> {$stars}&nbsp;</td>
				</tr>
				<tr>
				  <th>浏览次数：</th>
				  <td colspan="2">
				  	<span id="hits"></span>
						（今日：<span id="todaydowns"></span>，
						本周：<span id="weekdowns"></span>，
						本月：<span id="monthdowns"></span>）
				   </td>
				</tr>
			</tbody>
			</table>
			
			<span class="d_content"><span class="desc_title">文档简介：</span><span class="desc_info">{$content}</span></span>
			
			{if $downfile || $downfiles}
			<span class="attach_urls">
				<span class="desc_title">下载地址：</span>				<ul class="blue">
           			{loop $downfile $r}
						<li>{$r[url]}</li>
					{/loop}
					{loop $downfiles $r}
						<li>{$r[url]}</li>
					{/loop}		
				</ul>
				<div class="clear">&nbsp;</div>
			</span>
			{/if}
			
		</span><!-- css class contentbox end -->
		
		<div class="clear">&nbsp;</div>
		<div class="Article-Tool">分享到：
          <script type="text/javascript">document.write('<a href="http://v.t.sina.com.cn/share/share.php?url='+encodeURIComponent(location.href)+'&appkey=3172366919&title='+encodeURIComponent('{new_addslashes($title)}')+'" title="分享到新浪微博" class="t1" target="_blank">新浪微博</a>');</script>
		  <script type="text/javascript">document.write('<a href="http://www.douban.com/recommend/?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent('{new_addslashes($title)}')+'" title="分享到豆瓣" class="t2" target="_blank">豆瓣</a>');</script>
		  <script type="text/javascript">document.write('<a href="http://share.renren.com/share/buttonshare.do?link='+encodeURIComponent(location.href)+'&title='+encodeURIComponent('{new_addslashes($title)}')+'" title="分享到人人" class="t3" target="_blank">人人</a>');</script>
		  <script type="text/javascript">document.write('<a href="http://www.kaixin001.com/repaste/share.php?rtitle='+encodeURIComponent('{new_addslashes($title)}')+'&rurl='+encodeURIComponent(location.href)+'&rcontent=" title="分享到开心网" class="t4" target="_blank">开心网</a>');</script>
		  <script type="text/javascript">document.write('<a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(location.href)+'" title="分享到QQ空间" class="t5" target="_blank">QQ空间</a>');</script>
      </div>
	  
	  {if $allow_comment}
   <iframe src="{APP_PATH}index.php?m=comment&c=index&a=init&commentid={id_encode("content_$catid",$id,$siteid)}&iframe=1" width="100%" height="100%" id="comment_iframe" frameborder="0" scrolling="no"></iframe>
	{/if}
		
		<div class="clear">&nbsp;</div>
	</div><!-- css class leftside end -->
	
	<div class="rightside">
		<span class="hotboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道总排行</span></h3>
			<span class="outerbox">
				<ul>
				{pc:content  action="hits" catid="$catid" num="10" order="views DESC" cache="3600"}
					{loop $data $r}
						<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 28, '')}</a></li>
					{/loop}
				{/pc}
				</ul>
			</span>
		</span>
		
		<span class="seboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">频道本月排行</span></h3>
			<span class="outerbox">
				<ul>
				{pc:content action="hits" catid="$catid" num="10" order="monthviews DESC" cache="3600"}
					{loop $data $r}
					<li><span>已<b>{number_format($r[monthviews])}</b>人评论</span><a href="{$r[url]}"{title_style($r[style])} class="title" title="{$r[title]}">{str_cut($r[title],35,'...')}</a></li>
					{/loop}
				{/pc}
				</ul>
			</span>
		</span>
		
		<span class="hotboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">相关下载</span></h3>
			<span class="outerbox">
				<ul>
				{pc:content action="relation" relation="$relation" catid="$catid" num="5" keywords="$rs[keywords]"}
					{loop $data $r}
						<li><span>({date('m-d',$r[inputtime])})</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 28, '')}</a></li>
					{/loop}
				{/pc}
				</ul>
			</span>
		</span>
		
		<span class="seboard">
			<h3><span class="sp_r"></span><span class="sp_l"></span><span class="title">推荐下载</span></h3>
			<span class="outerbox">
				<ul>
				{pc:content  action="position" posid="5" order="listorder DESC" num="4"}
					{loop $data $r}
					<li><a href="{$r[url]}"{title_style($r[style])} class="title" title="{$r[title]}">{str_cut($r[title],56,'...')}</a></li>
					{/loop}
				{/pc}
				</ul>
			</span>
		</span>
		<div class="clear">&nbsp;</div>
	</div>
	
	<div class="clear">&nbsp;</div>
</div><!-- css id boardbox end -->

<div class="clear">&nbsp;</div>
<script language="JavaScript" src="{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}"></script>
{loop $downfile $r}
	<script language="JavaScript" src="{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}&catid={$catid}&unique_id={$r[downid]}"></script>
{/loop}
{loop $downfiles $r}
	<script language="JavaScript" src="{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}&catid={$catid}&unique_id={$r[downid]}"></script>
{/loop}

{template "content","footer_cat"}